package com.bill.common.system.dao;

import com.sinba.common.dto.BaseDTO;

import org.apache.struts2.json.annotations.JSON;

import java.util.Date;

/**
 * 邮件信息查询DTO
 * @author ssssssss
 *
 */
@SuppressWarnings( "serial" )
public class EmailMessageQueryDTO
    extends BaseDTO
{
    private String subject;
    private String description;
    private String content;
    private String folderName;
    private String fromUser;
    private String toUser;
    private boolean isToRequest;
    private String keyword;
    private Date receiveStartDate;
    private Date receiveEndDate;
    private Date sendStartDate;
    private Date sendEndDate;

    public String getSubject(  )
    {
        return subject;
    }

    public void setSubject( String subject )
    {
        this.subject = subject;
    }

    public String getDescription(  )
    {
        return description;
    }

    public void setDescription( String description )
    {
        this.description = description;
    }

    public String getContent(  )
    {
        return content;
    }

    public void setContent( String content )
    {
        this.content = content;
    }

    public String getFolderName(  )
    {
        return folderName;
    }

    public void setFolderName( String folderName )
    {
        this.folderName = folderName;
    }

    public String getFromUser(  )
    {
        return fromUser;
    }

    public void setFromUser( String fromUser )
    {
        this.fromUser = fromUser;
    }

    public String getToUser(  )
    {
        return toUser;
    }

    public void setToUser( String toUser )
    {
        this.toUser = toUser;
    }

    public boolean isToRequest(  )
    {
        return isToRequest;
    }

    public void setToRequest( boolean isToRequest )
    {
        this.isToRequest = isToRequest;
    }

    public String getKeyword(  )
    {
        return keyword;
    }

    public void setKeyword( String keyword )
    {
        this.keyword = keyword;
    }

    @JSON( format = "yyyy-MM-dd HH:MM:ss" )
    public Date getReceiveStartDate(  )
    {
        return receiveStartDate;
    }

    public void setReceiveStartDate( Date receiveStartDate )
    {
        this.receiveStartDate = receiveStartDate;
    }

    @JSON( format = "yyyy-MM-dd HH:MM:ss" )
    public Date getSendStartDate(  )
    {
        return sendStartDate;
    }

    public void setSendStartDate( Date sendStartDate )
    {
        this.sendStartDate = sendStartDate;
    }

    @JSON( format = "yyyy-MM-dd HH:MM:ss" )
    public Date getReceiveEndDate(  )
    {
        return receiveEndDate;
    }

    public void setReceiveEndDate( Date receiveEndDate )
    {
        this.receiveEndDate = receiveEndDate;
    }

    @JSON( format = "yyyy-MM-dd HH:MM:ss" )
    public Date getSendEndDate(  )
    {
        return sendEndDate;
    }

    public void setSendEndDate( Date sendEndDate )
    {
        this.sendEndDate = sendEndDate;
    }
}
